package com.ruoyi.system.mapper;
import com.ruoyi.system.domain.Leaderboard;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * Created with IntelliJ IDEA.
 *
 * @author: 风离
 * @Date: 2022/06/23/16:03
 * @Description:
 */

public interface LeaderboardMapper {


    List<Leaderboard> listByType(@Param("type") Integer type,@Param("start") String start,@Param("end") String end);

    int disablePhb(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("type") Integer type,
                   @Param("disable") Integer isDisable);
}
